UCF STIG Viewer Logo

The macOS system must disable Server Message Block sharing.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259478 APPL-14-002001 SV-259478r941056_rule Medium
Description
Support for Server Message Block (SMB) file sharing is nonessential and must be disabled. The information system must be configured to provide only essential capabilities.
STIG Date
Apple macOS 14 (Sonoma) Security Technical Implementation Guide 2024-01-10

Details

Check Text ( C-63217r941054_chk )
Verify the macOS system is configured to disable Server Message Block sharing with the following command:

/bin/launchctl print-disabled system | /usr/bin/grep -c '"com.apple.smbd" => disabled'

If the result is not "1", this is a finding.
Fix Text (F-63125r941055_fix)
Configure the macOS system to disable Server Message Block sharing with the following command:

/bin/launchctl disable system/com.apple.smbd

The system may need to be restarted for the update to take effect.